// -----------------------------
// Author: 		Dhaenens Gert	
// Creation: 	11/13/2013 11:27:07 AM				
// -----------------------------

#include "SoundChannel.h"

SoundChannel::SoundChannel(FMOD::Channel* lpSoundChannel)
	: m_lpSoundChannel(lpSoundChannel)
{
}

SoundChannel::~SoundChannel()
{
}

UINT SoundChannel::GetPCMPosition()
{
	UINT uPcmPos = 0;
	m_lpSoundChannel->getPosition(&uPcmPos,FMOD_TIMEUNIT_PCM);
	return uPcmPos;
}